package com.bosssoft.fegin;

import com.bosssoft.fegin.impl.AccountFeginServiceImpl;
import com.bosssoft.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Aria
 */
@Component
@FeignClient(value = "account-provider",fallback = AccountFeginServiceImpl.class)
public interface AccountFeginService {

    @PostMapping(value = "/fibAccount/select")
    Result select(@RequestBody Long id);
}
